StellarPay\Integrations\WooCommerce\Stripe\Controllers\PrePaymentProcessLegacyCheckout S

Total Complexity 20
Dependencies 8
Dependents 2
Total lines 167
Lines of code 79
Logical lines of code 44
Comment lines 52
Methods 8
Properties 0

Methods 8

Method Rating Maintainability Complexity Lines of code
__invoke()
A
46 8 40
getSavedPaymentMethod()
S
62 3 11
isCustomerOptedInToPaymentInformation()
S
70 3 5
getPaymentMethodTokenId()
S
65 2 9
handleOrderProcessing()
S
73 1 5
getNewPaymentMethodId()
S
78 1 3
isCustomerUsingNewPaymentMethod()
S
79 1 3
isCustomerOptedInToUseSavedPaymentMethod()
S
79 1 3